package com.ruoyi.library.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.library.api.query.DigitalTwinBusinessQuery;
import com.ruoyi.library.api.vo.DigitalTwinBusinessVO;
import org.springframework.stereotype.Service;
import com.ruoyi.library.mapper.DtsDigitalTwinBusinessMapper;
import com.ruoyi.library.domain.DtsDigitalTwinBusiness;
import com.ruoyi.library.service.IDtsDigitalTwinBusinessService;

/**
 * 业务Service业务层处理
 *
 * @author ZhangYu
 * @date 2024-05-20
 */
@Service
public class DtsDigitalTwinBusinessServiceImpl extends ServiceImpl<DtsDigitalTwinBusinessMapper, DtsDigitalTwinBusiness> implements IDtsDigitalTwinBusinessService {

    @Override
    public Page<DigitalTwinBusinessVO> businessInfoPage(DigitalTwinBusinessQuery digitalTwinBusinessQuery) {
        return baseMapper.businessInfoPage(new Page<>(digitalTwinBusinessQuery.getPageNum(), digitalTwinBusinessQuery.getPageSize()), digitalTwinBusinessQuery);
    }

}
